package com.yao.mall.model.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @author jiahua.yao
 * @version 1.0
 * @description TODO
 * @date 2024/4/16 19:14
 */

@Data
@Document(indexName = "counter")
public class Counter {
    @Field(type = FieldType.Keyword)
    private String id;
    @Field(type = FieldType.Integer)
    private Integer length;
    @Field(type = FieldType.Integer)
    private Integer width;
    @Field(type = FieldType.Integer)
    private Integer height;
}


